package buildcode.language.java.field;

import buildcode.database.TableColumnInfo;

public class JavaDatabaseQueryField extends JavaField {

    private String oper = "=";

    public JavaDatabaseQueryField(String oper, String fieldName, Class<?> type, String note, TableColumnInfo metaData) {
        super(fieldName, type, note, metaData);
    }

    public JavaDatabaseQueryField(String oper, String fieldName, Class<?> type, TableColumnInfo metaData) {
        this(oper, fieldName, type, "", metaData);
    }

    public JavaDatabaseQueryField(String oper, String fieldName, String typeName, TableColumnInfo metaData) {
        super(fieldName, typeName, metaData);
    }

    public JavaDatabaseQueryField(String fieldName, Class<?> type, String note, TableColumnInfo metaData) {
        super(fieldName, type, note, metaData);
    }

    public String getOper() {
        return oper;
    }

    public void setOper(String oper) {
        this.oper = oper;
    }

}
